/**
 * @file: mod.js
 * @author fis
 * ver: 1.0.13
 * update: 2016/01/27
 * https://github.com/fex-team/mod
 */
var require;

/* eslint-disable no-unused-vars */
var define;

(function (global) {

    // 避免重复加载而导致已定义模块丢失
    if (require) {
        return;
    }

    var head = document.getElementsByTagName('head')[0];
    var loadingMap = {};
    var factoryMap = {};
    var modulesMap = {};
    var scriptsMap = {};
    var resMap = {};
    var pkgMap = {};

    var createScripts = function(queues, onerror){

        var docFrag = document.createDocumentFragment();

        for(var i = 0, len = queues.length; i < len; i++){
            var id = queues[i].id;
            var url = queues[i].url;

            if (url in scriptsMap) {
                continue;
            }

            scriptsMap[url] = true;

            var script = document.createElement('script');
            if (onerror) {
                (function(script, id){
                    var tid = setTimeout(function(){
                        onerror(id);
                    }, require.timeout);

                    script.onerror = function () {
                        clearTimeout(tid);
                        onerror(id);
                    };

                    var onload = function () {
                        clearTimeout(tid);
                    };

                    if ('onload' in script) {
                        script.onload = onload;
                    }
                    else {
                        script.onreadystatechange = function () {
                            if (this.readyState === 'loaded' || this.readyState === 'complete') {
                                onload();
                            }
                        };
                    }
                })(script, id);
            }
            script.type = 'text/javascript';
            script.src = url;

            docFrag.appendChild(script);
        }

        head.appendChild(docFrag);
    };

    var loadScripts = function(ids, callback, onerror){
        var queues = [];
        for(var i = 0, len = ids.length; i < len; i++){
            var id = ids[i];
            var queue = loadingMap[id] || (loadingMap[id] = []);
            queue.push(callback);

            //
            // resource map query
            //
            var res = resMap[id] || resMap[id + '.js'] || {};
            var pkg = res.pkg;
            var url;

            if (pkg) {
                url = pkgMap[pkg].url || pkgMap[pkg].uri;
            }
            else {
                url = res.url || res.uri || id;
            }

            queues.push({
                id: id,
                url: url
            });
        }

        createScripts(queues, onerror);
    };

    define = function (id, factory) {
        id = id.replace(/\.js$/i, '');
        factoryMap[id] = factory;

        var queue = loadingMap[id];
        if (queue) {
            for (var i = 0, n = queue.length; i < n; i++) {
                queue[i]();
            }
            delete loadingMap[id];
        }
    };

    require = function (id) {

        // compatible with require([dep, dep2...]) syntax.
        if (id && id.splice) {
            return require.async.apply(this, arguments);
        }

        id = require.alias(id);

        var mod = modulesMap[id];
        if (mod) {
            return mod.exports;
        }

        //
        // init module
        //
        var factory = factoryMap[id];
        if (!factory) {
            throw '[ModJS] Cannot find module `' + id + '`';
        }

        mod = modulesMap[id] = {
            exports: {}
        };

        //
        // factory: function OR value
        //
        var ret = (typeof factory === 'function') ? factory.apply(mod, [require, mod.exports, mod]) : factory;

        if (ret) {
            mod.exports = ret;
        }

        return mod.exports;
    };

    require.async = function (names, onload, onerror) {
        if (typeof names === 'string') {
            names = [names];
        }

        var needMap = {};
        var needNum = 0;
        var needLoad = [];

        function findNeed(depArr) {
            var child;

            for (var i = 0, n = depArr.length; i < n; i++) {
                //
                // skip loading or loaded
                //
                var dep = require.alias(depArr[i]);

                if (dep in needMap) {
                    continue;
                }

                needMap[dep] = true;

                if (dep in factoryMap) {
                    // check whether loaded resource's deps is loaded or not
                    child = resMap[dep] || resMap[dep + '.js'];
                    if (child && 'deps' in child) {
                        findNeed(child.deps);
                    }
                    continue;
                }

                needLoad.push(dep);
                needNum++;

                child = resMap[dep] || resMap[dep + '.js'];
                if (child && 'deps' in child) {
                    findNeed(child.deps);
                }
            }
        }

        function updateNeed() {
            if (0 === needNum--) {
                var args = [];
                for (var i = 0, n = names.length; i < n; i++) {
                    args[i] = require(names[i]);
                }

                onload && onload.apply(global, args);
            }
        }

        findNeed(names);
        loadScripts(needLoad, updateNeed, onerror);
        updateNeed();
    };
    
    require.ensure = function(names, callback) {
      require.async(names, function() {
        callback && callback.call(this, require);
      });
    };

    require.resourceMap = function (obj) {
        var k;
        var col;

        // merge `res` & `pkg` fields
        col = obj.res;
        for (k in col) {
            if (col.hasOwnProperty(k)) {
                resMap[k] = col[k];
            }
        }

        col = obj.pkg;
        for (k in col) {
            if (col.hasOwnProperty(k)) {
                pkgMap[k] = col[k];
            }
        }
    };

    require.loadJs = function (url) {
        if (url in scriptsMap) {
            return;
        }

        scriptsMap[url] = true;

        var script = document.createElement('script');
        script.type = 'text/javascript';
        script.src = url;
        head.appendChild(script);
    };

    require.loadCss = function (cfg) {
        if (cfg.content) {
            var sty = document.createElement('style');
            sty.type = 'text/css';

            if (sty.styleSheet) { // IE
                sty.styleSheet.cssText = cfg.content;
            }
            else {
                sty.innerHTML = cfg.content;
            }
            head.appendChild(sty);
        }
        else if (cfg.url) {
            var link = document.createElement('link');
            link.href = cfg.url;
            link.rel = 'stylesheet';
            link.type = 'text/css';
            head.appendChild(link);
        }
    };


    require.alias = function (id) {
        return id.replace(/\.js$/i, '');
    };

    require.timeout = 5000;

})(this);

;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-search" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M46.545455 1024l651.636364 0c25.662061 0 46.545455-21.536 46.545455-48l0-240c0-0.32-0.155152-0.576-0.186182-0.896 1.706667-1.12 3.475394-2.176 5.15103-3.36l247.808 255.552c3.04097 3.136 7.012848 4.704 10.984727 4.704s7.943758-1.568 10.984727-4.672c6.050909-6.24 6.050909-16.384 0-22.624l-245.542788-253.216c39.222303-37.984 63.891394-91.776 63.891394-151.488 0-73.504-37.267394-138.112-93.277091-175.104 0.03103-0.32 0.186182-0.576 0.186182-0.896l0-80c0-0.544-0.248242-0.992-0.279273-1.504-0.062061-0.736-0.248242-1.376-0.403394-2.08-0.527515-2.272-1.427394-4.32-2.792727-6.112-0.217212-0.288-0.186182-0.64-0.403394-0.928l-248.242424-288c-0.093091-0.096-0.217212-0.096-0.310303-0.192-1.861818-2.08-4.251152-3.456-6.919758-4.288-0.589576-0.192-1.117091-0.256-1.737697-0.352-0.899879-0.16-1.737697-0.544-2.668606-0.544l-434.424242 0c-25.662061 0-46.545455 21.536-46.545455 48l0 928c0 26.464 20.883394 48 46.545455 48zM806.787879 560c0 97.056-76.582788 176-170.666667 176s-170.666667-78.944-170.666667-176 76.582788-176 170.666667-176 170.666667 78.944 170.666667 176zM496.484848 58.08l198.190545 229.92-182.675394 0c-6.826667 0-15.515152-13.44-15.515152-24l0-205.92zM31.030303 48c0-8.832 6.981818-16 15.515152-16l418.909091 0 0 232c0 25.888 20.324848 56 46.545455 56l201.69697 0 0 48.032c-23.893333-10.304-50.082909-16.032-77.575758-16.032-57.033697 0-108.481939 24.64-145.190788 64l-320.263758 0c-8.564364 0-15.515152 7.168-15.515152 16s6.950788 16 15.515152 16l295.780848 0c-17.532121 28.128-28.609939 60.832-31.216485 96l-264.564364 0c-8.564364 0-15.515152 7.168-15.515152 16s6.950788 16 15.515152 16l264.533333 0c2.606545 35.168 13.715394 67.872 31.216485 96l-295.749818 0c-8.564364 0-15.515152 7.168-15.515152 16s6.950788 16 15.515152 16l318.060606 0c0.651636 0 1.210182-0.288 1.861818-0.384 36.739879 39.584 88.343273 64.384 145.532121 64.384 27.492848 0 53.682424-5.728 77.575758-16.064l0 224.064c0 8.832-6.981818 16-15.515152 16l-651.636364 0c-8.688485 0-15.515152-7.04-15.515152-16l0-928zM170.666667 320l186.181818 0c8.564364 0 15.515152-7.168 15.515152-16s-6.950788-16-15.515152-16l-186.181818 0c-8.564364 0-15.515152 7.168-15.515152 16s6.950788 16 15.515152 16zM170.666667 832l403.393939 0c8.564364 0 15.515152-7.168 15.515152-16s-6.950788-16-15.515152-16l-403.393939 0c-8.564364 0-15.515152 7.168-15.515152 16s6.950788 16 15.515152 16z" fill="#ff5959" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-close" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M587.386 512.736l399.053-399.055c17.949-17.941 15.869-49.101-4.641-69.602-20.5-20.5-51.65-22.58-69.601-4.638l-399.050 399.055-399.049-399.055c-17.949-17.943-49.102-15.865-69.602 4.638-20.507 20.503-22.59 51.663-4.64 69.602l399.053 399.055-399.045 399.049c-17.943 17.937-15.873 49.103 4.635 69.602 20.494 20.5 51.665 22.576 69.602 4.64l399.049-399.053 399.054 399.053c17.935 17.936 49.108 15.86 69.601-4.64 20.509-20.501 22.577-51.665 4.635-69.607l-399.046-399.049z" fill="#0a64b0" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-down" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M511.999999 585.132594 230.414366 303.546962 149.961328 384 471.77348 705.812152 512 746.038672 874.038672 384 793.585633 303.546961 511.999999 585.132594Z" fill="#0a64b0" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-hotel" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M903.081 946.189v-844.299l-164.433-75.264-395.12 202.569v139.732l-240.706 86.915v490.345h-18.020v51.186h88.236v-505.413l300.825-112.315v617.728h224.628v-51.186h-42.099v-571.59l-120.315-75.186-144.394 52.118v-82.177l330.884-159.46v887.484h216.628v-51.186z" fill="#1296db" ></path>' +
    '' +
    '<path d="M206.671 608.858l230.143-67.731v-100.741l-230.143 78.217z" fill="#1296db" ></path>' +
    '' +
    '<path d="M206.671 732.822l230.143-34.797v-99.265l-230.143 43.807z" fill="#1296db" ></path>' +
    '' +
    '<path d="M206.671 865.098l230.143-9.165v-103.77l-230.143 22.681z" fill="#1296db" ></path>' +
    '' +
    '<path d="M206.671 997.374l230.143-7.534v-100.818l-230.143 18.097z" fill="#1296db" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-bus" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M928 480.0928C928 497.7248 913.824 511.9968 895.712 511.9968L832.288 511.9968C814.464 511.9968 800 497.5008 800 480.0928L800 287.9008C800 270.2688 814.176 255.9968 832.288 255.9968L864 255.9968C899.36 255.9968 928 284.3808 928 319.9328L928 480.0928ZM736 416.2848C736 433.7888 721.568 447.9968 704.288 447.9968L575.712 447.9968C558.208 447.9968 544 433.5648 544 416.2848L544 287.7088C544 270.2048 558.432 255.9968 575.712 255.9968L704.288 255.9968C721.792 255.9968 736 270.4288 736 287.7088L736 416.2848ZM480 416.2848C480 433.7888 465.568 447.9968 448.288 447.9968L319.712 447.9968C302.208 447.9968 288 433.5648 288 416.2848L288 287.7088C288 270.2048 302.432 255.9968 319.712 255.9968L448.288 255.9968C465.792 255.9968 480 270.4288 480 287.7088L480 416.2848ZM224 416.2848C224 433.7888 209.824 447.9968 191.712 447.9968L128.288 447.9968C110.464 447.9968 96 433.5648 96 416.2848L96 319.9328C96 284.6368 124.416 255.9968 160 255.9968L191.712 255.9968C209.536 255.9968 224 270.4288 224 287.7088L224 416.2848ZM895.872 159.9968 128.128 159.9968C57.248 159.9968 0 217.4048 0 288.1888L0 704.0928C0 739.4848 28.672 767.9968 64.064 767.9968L96.864 767.9968C96.288 762.7488 96 757.4048 96 751.9968 96 672.4768 160.48 607.9968 240 607.9968 319.52 607.9968 384 672.4768 384 751.9968 384 757.4048 383.712 762.7488 383.136 767.9968L608.864 767.9968C608.288 762.7488 608 757.4048 608 751.9968 608 672.4768 672.48 607.9968 752 607.9968 831.52 607.9968 896 672.4768 896 751.9968 896 757.4048 895.712 762.7488 895.136 767.9968L959.936 767.9968C995.552 767.9968 1024 739.3888 1024 704.0928L1024 288.1888C1024 217.2128 966.624 159.9968 895.872 159.9968L895.872 159.9968Z" fill="#ed6e00" ></path>' +
    '' +
    '<path d="M240 640C178.144 640 128 690.144 128 752 128 813.856 178.144 864 240 864 301.856 864 352 813.856 352 752 352 690.144 301.856 640 240 640" fill="#ed6e00" ></path>' +
    '' +
    '<path d="M752 640C690.144 640 640 690.144 640 752 640 813.856 690.144 864 752 864 813.856 864 864 813.856 864 752 864 690.144 813.856 640 752 640" fill="#ed6e00" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-around" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M504.38598 1024.966108c-244.270199 0-503.905445-66.601012-503.905445-190.060354 0-59.651884 125.574908-156.819789 282.815795-156.819789l31.145148 30.731102c-125.333129 0-251.349283 73.251945-251.349283 126.088688 0 55.983897 164.342134 126.01011 441.293785 126.01011 290.295829 0 440.695382-61.024987 440.695382-126.01011 0-72.45609-126.736454-125.422788-251.852989-125.422788l30.810687-31.06254c156.567936 0 284.200987 66.298788 284.200987 156.485329C1008.240047 975.221113 736.837222 1024.966108 504.38598 1024.966108z" fill="#4f9183" ></path>' +
    '' +
    '<path d="M504.259047 16.462119c-188.47368 0-315.150697 125.428833-315.150697 314.485805 0 189.28364 315.150697 536.345117 315.150697 536.345117S818.344909 520.231563 818.344909 330.947923C818.344909 141.890952 693.228374 16.462119 504.259047 16.462119zM504.504855 457.375102c-69.615188 0-126.260955-56.49264-126.260955-125.921457 0-69.439899 56.645767-125.931531 126.260955-125.931531 69.620225 0 126.263977 56.491633 126.263977 125.931531C630.768832 400.883469 574.123066 457.375102 504.504855 457.375102z" fill="#4f9183" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-website" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M127.407 604.058l36.075-118.661 36.363 118.661h42.42l71.879-211.746h-61.951l-32.276 95.949-28.53-95.949h-55.541l-28.782 95.949-32.025-95.949h-61.988l71.869 211.746h42.494zM547.465 394.865h-55.517l-28.795 95.924-32.037-95.924h-61.965l71.869 211.794h42.459l36.098-118.725 36.313 118.71h42.483l71.83-211.794h-61.951l-32.253 95.924-28.53-95.913zM140.891 251.43c35.356 17.985 77.298 33.445 123.564 45.535-3.307 13.925-6.259 28.129-8.874 42.582h54.323c1.998-10.37 4.046-20.715 6.434-30.77 55.92 10.949 115.18 17.219 176.754 18.588v12.192h53.229v-12.192c61.561-1.383 120.784-7.629 176.754-18.588 2.387 10.054 4.436 20.411 6.434 30.77h54.323c-2.602-14.442-5.554-28.642-8.847-42.582 46.239-12.116 88.195-27.565 123.564-45.55 18.3 27.713 33.221 57.289 44.933 88.132h56.509c-4.060-12.13-8.446-24.145-13.475-35.996-25.476-60.343-62.026-114.502-108.543-161.042-46.528-46.528-100.74-83.029-161.042-108.555-62.479-26.432-128.817-39.83-197.216-39.83-68.359 0-134.71 13.411-197.189 39.83-60.331 25.526-114.513 62.039-161.042 108.555-17.985 18.011-34.475 37.179-49.433 57.377-0.551 0.679-1.081 1.409-1.571 2.149-23.013 31.421-42.281 65.356-57.566 101.53-5.014 11.851-9.402 23.867-13.475 35.996h56.532c11.703-30.857 26.608-60.418 44.921-88.132zM840.278 180.167c9.011 9.011 17.547 18.336 25.716 27.954-30.641 14.719-66.189 27.312-105.174 37.429-10.959-34.715-24.208-67.117-39.655-96.566-15.346-29.286-32.365-54.686-50.625-76.017 63.119 22.222 121.037 58.469 169.741 107.2zM546.321 50.721c18.576 4.676 36.851 14.164 54.574 28.468 27.1 21.869 51.682 53.668 73.075 94.503 13.361 25.491 24.95 53.529 34.65 83.493-50.753 9.665-105.715 15.485-162.3 16.879v-223.346zM438.532 79.189c17.734-14.304 35.971-23.819 54.534-28.468v223.361c-56.583-1.383-111.546-7.215-162.324-16.867 9.728-29.988 21.317-58.017 34.677-83.519 21.43-40.836 46.001-72.636 73.111-94.503zM199.136 180.192c48.731-48.755 106.631-85.013 169.815-107.225-18.326 21.292-35.343 46.731-50.665 76.017-15.445 29.451-28.706 61.877-39.692 96.566-38.999-10.117-74.521-22.714-105.163-37.429 8.144-9.59 16.691-18.94 25.703-27.926zM901.188 745.947c-35.646-18.387-78.078-34.223-125.034-46.58 4.486-19.57 8.082-39.881 11.211-60.431h-53.807c-2.665 16.503-5.643 32.781-9.263 48.553-56.295-11.138-115.947-17.444-177.961-18.841v-29.713h-53.242v29.713c-62.039 1.395-121.691 7.705-177.986 18.841-3.62-15.773-6.601-32.063-9.278-48.553h-53.794c3.13 20.549 6.698 40.861 11.211 60.431-46.945 12.354-89.414 28.178-125.009 46.58-21.556-33.369-38.422-69.328-50.437-107.010h-55.517c5.681 19.985 12.444 39.705 20.613 58.996 25.516 60.354 62.039 114.527 108.555 161.069 46.528 46.492 100.714 83.029 161.042 108.53 62.479 26.446 128.831 39.83 197.178 39.83 68.398 0 134.762-13.385 197.243-39.83 60.307-25.491 114.476-62.039 161.042-108.53 46.492-46.543 83.043-100.725 108.53-161.069 8.171-19.293 14.932-38.999 20.626-58.996h-55.503c-12.001 37.682-28.882 73.639-50.427 107.010zM199.136 821.321c-10.219-10.219-19.884-20.828-28.995-31.823 30.945-15.206 67.091-28.24 106.883-38.61 11.263 36.613 25.061 70.774 41.264 101.655 15.333 29.271 32.338 54.711 50.665 76.017-63.183-22.233-121.1-58.494-169.815-107.235zM493.069 950.828c-18.564-4.687-36.813-14.179-54.561-28.519-27.1-21.882-51.682-53.692-73.087-94.53-14.126-26.947-26.282-56.735-36.349-88.685 51.23-9.842 106.807-15.748 163.983-17.169l0.015 228.901zM600.895 922.313c-17.734 14.341-35.996 23.83-54.574 28.519v-228.877c57.213 1.409 112.78 7.315 163.998 17.183-10.067 31.95-22.208 61.726-36.349 88.674-21.379 40.836-45.978 72.622-73.075 94.503zM840.278 821.321c-48.703 48.74-106.621 85.002-169.778 107.225 18.289-21.329 35.318-46.743 50.651-76.017 16.19-30.907 29.938-65.043 41.226-101.655 39.766 10.382 75.914 23.403 106.873 38.61-9.1 11.024-18.727 21.617-28.97 31.837zM932.093 493.378l-28.506-95.962h-55.529l-28.782 95.962-32.025-95.962h-61.988l71.892 211.759h42.42l36.11-118.675 36.336 118.675h42.433l71.854-211.759h-61.937l-32.276 95.962z" fill="#f5b554" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-calendar" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M945.202708 1023.9856H78.782892a80.222872 80.222872 0 0 1-55.391221-20.959705C7.80789 989.042092 0 972.466325 0 953.362593V176.541517c0-19.839721 7.80789-36.575486 23.359672-50.207294a81.470854 81.470854 0 0 1 55.42322-20.415712h78.750893v35.327503c0 29.439586 11.487838 54.399235 34.463515 75.038944 22.975677 20.575711 50.879285 30.879566 83.678823 30.879566 32.831538 0 60.735146-10.303855 83.710823-30.879566 22.975677-20.60771 34.463515-45.631358 34.463515-75.038944V105.918511h236.284678v35.327503c0 29.439586 11.519838 54.399235 34.463515 75.038944 22.975677 20.575711 50.879285 30.879566 83.710823 30.879566 32.799539 0 60.703146-10.303855 83.678823-30.879566 22.975677-20.60771 34.463515-45.631358 34.463516-75.038944V105.918511h78.750892c21.3437 0 39.80744 6.815904 55.391221 20.415712 15.583781 13.631808 23.391671 30.367573 23.391671 50.239294v776.789076c0 19.135731-7.80789 35.679498-23.359671 49.663302a80.222872 80.222872 0 0 1-55.423221 20.959705z m0-670.902565H78.782892v600.311558h866.419816v-600.311558zM275.676123 529.656552H157.533785v-105.918511h118.142338v105.918511z m0 176.541517H157.533785v-105.91851h118.142338v105.91851z m0 176.541517H157.533785v-105.91851h118.142338v105.91851z m196.925231-353.083034h-118.142339v-105.918511h118.142339v105.918511z m0 176.541517h-118.142339v-105.91851h118.142339v105.91851z m0 176.541517h-118.142339v-105.91851h118.142339v105.91851z m196.925231-353.083034h-118.142339v-105.918511h118.142339v105.918511z m0 176.541517h-118.142339v-105.91851h118.142339v105.91851z m0 176.541517h-118.142339v-105.91851h118.142339v105.91851z m196.925231-353.083034h-118.142339v-105.918511h118.142339v105.918511z m0 176.541517h-118.142339v-105.91851h118.142339v105.91851z m0 176.541517h-118.142339v-105.91851h118.142339v105.91851z m-119.358322-670.870565c-21.375699 0-39.615443-6.815904-54.78323-20.415713-15.199786-13.631808-22.78368-29.983578-22.783679-49.11931V69.503023c0-19.103731 7.583893-35.487501 22.783679-49.08731C707.478051 6.815904 725.717795 0 747.061494 0s39.583443 6.815904 54.78323 20.415713c15.167787 13.599809 22.75168 29.983578 22.75168 49.08731v72.830975c0 19.135731-7.583893 35.519501-22.75168 49.11931-15.199786 13.599809-33.43953 20.415713-54.78323 20.415713z m-472.633354 0c-21.3437 0-39.583443-6.815904-54.783229-20.415713-15.167787-13.631808-22.75168-29.983578-22.75168-49.11931V69.503023c0-19.103731 7.583893-35.487501 22.75168-49.08731C234.876697 6.815904 253.116441 0 274.46014 0s39.583443 6.815904 54.75123 20.415713c15.199786 13.599809 22.78368 29.983578 22.78368 49.08731v72.830975c0 19.135731-7.583893 35.519501-22.78368 49.11931-15.167787 13.599809-33.40753 20.415713-54.75123 20.415713z" fill="#023876" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-QR_code" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M648.686 5.511h-629.637v648.732h629.637v-648.732zM528.765 530.597h-389.797v-401.557h389.797v401.557zM528.765 839.594h119.92v-123.646h-119.92v123.646zM858.604 5.511h-119.92v123.529h119.92v-123.529zM438.884 715.948h-419.836v123.529h419.719l0.116-123.529zM858.604 221.716h-119.92v432.526h119.92v-432.526zM438.884 221.716h-209.918v216.205h209.918v-216.205zM738.683 1024.946h299.799v-308.996h-299.799v308.996zM828.682 808.624h119.92v123.529h-119.92v-123.529zM918.563 654.243h119.92v-123.646h-119.92v123.646zM918.563 5.511v432.526h119.92v-432.526h-119.92zM19.049 1024.946h119.92v-123.646h-119.92v123.646zM228.966 1024.946h449.757v-123.646h-449.757v123.646z" fill="#27b2db" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-notice" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M512 0C230.4 0 0 230.4 0 512s230.4 512 512 512 512-230.4 512-512-230.4-512-512-512z m38.4 704c0 19.2-12.8 25.6-32 19.2l-128-83.2h-64c-38.4 0-64-32-64-64V448c0-38.4 32-64 64-64h64l128-83.2c19.2-6.4 32 0 32 19.2v384z m96-115.2c-6.4 12.8-12.8 25.6-19.2 32-6.4 6.4-19.2 6.4-25.6 0-6.4-6.4-6.4-19.2 0-25.6 0-6.4 6.4-12.8 12.8-19.2 6.4-19.2 12.8-38.4 12.8-64s-6.4-44.8-12.8-64c0-12.8-6.4-19.2-6.4-19.2-6.4-6.4-6.4-19.2 0-25.6 6.4-6.4 19.2-6.4 25.6 0 6.4 6.4 12.8 12.8 19.2 32 12.8 25.6 19.2 51.2 19.2 76.8-6.4 32-12.8 57.6-25.6 76.8z m83.2 51.2c-12.8 19.2-25.6 38.4-38.4 44.8-6.4 6.4-19.2 6.4-25.6 0-6.4-6.4-6.4-19.2 0-25.6l6.4-6.4c6.4-6.4 12.8-19.2 19.2-25.6 19.2-32 32-70.4 32-108.8 0-44.8-12.8-76.8-32-108.8-6.4-12.8-12.8-19.2-19.2-25.6l-6.4-6.4c-6.4-6.4-6.4-19.2 0-25.6 6.4-6.4 19.2-6.4 25.6 0 12.8-6.4 25.6 12.8 38.4 32 19.2 38.4 32 76.8 32 128s-12.8 89.6-32 128z" fill="#035aa9" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)
